Skip to main content

ITypedRedisClientFacadeAsync<T>

Assembly: ServiceStack.dll
View Source
Declaration
public interface ITypedRedisClientFacadeAsync<T>

Methods

GetNextSequenceAsync(CancellationToken)

View Source
Declaration
Task<int> GetNextSequenceAsync(CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<System.Int32>

Parameters
TypeName
System.Threading.CancellationTokentoken

GetByIdAsync(Object, CancellationToken)

View Source
Declaration
Task<T> GetByIdAsync(object id, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<<T>>

Parameters
TypeName
System.Objectid
System.Threading.CancellationTokentoken

GetByIdsAsync(IEnumerable, CancellationToken)

View Source
Declaration
Task<List<T>> GetByIdsAsync(IEnumerable ids, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.Collections.IEnumerableids
System.Threading.CancellationTokentoken

DeleteByIdAsync(String, CancellationToken)

View Source
Declaration
Task DeleteByIdAsync(string id, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.Stringid
System.Threading.CancellationTokentoken

DeleteByIdsAsync(IEnumerable, CancellationToken)

View Source
Declaration
Task DeleteByIdsAsync(IEnumerable ids, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task

Parameters
TypeName
System.Collections.IEnumerableids
System.Threading.CancellationTokentoken

GetAllAsync(Nullable<Int32>, Nullable<Int32>, CancellationToken)

View Source
Declaration
Task<List<T>> GetAllAsync(int? skip = null, int? take = null, CancellationToken token = default(CancellationToken))
Returns

System.Threading.Tasks.Task<System.Collections.Generic.List<<T>>>

Parameters
TypeName
System.Nullable<System.Int32>skip
System.Nullable<System.Int32>take
System.Threading.CancellationTokentoken